//
//  WCNPatientBtn.m
//  WCN
//
//  Created by wsj2015 on 15/9/22.
//  Copyright (c) 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNPatientBtn.h"
#import "Macros.h"
@implementation WCNPatientBtn

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)setRoundCorner
{
    self.layer.borderWidth =1;
    self.layer.borderColor =[UIColor orangeColor].CGColor;
    self.layer.cornerRadius =5;
    self.clipsToBounds =YES;
    
    
}
- (void)setSelected:(BOOL)selected
{
    
    if (selected == YES) {
       
        self.backgroundColor =[UIColor orangeColor];
    }else{
        self.backgroundColor =[UIColor whiteColor];
     
     
    }

}
@end
